﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <DataTemplate x:Key="SearchAudioItemTemplate">
        <Grid MinHeight="35" Margin="5,10,5,10">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="5"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock VerticalAlignment="Center" Text="{Binding Title}"  FontFamily="../Fonts/#Segoe WP" FontSize="18" TextWrapping="Wrap" TextTrimming="CharacterEllipsis" MaxHeight="60"/>
            <TextBlock Grid.Row="1" Text="{Binding Artist}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis"  FontFamily="../Fonts/#Segoe WP Light"/>
            <TextBlock Grid.Column="2" Grid.Row="0" Text="{Binding Duration, StringFormat='m\\:ss'}" FontSize="12" Foreground="#FF999999"/>
        </Grid>
    </DataTemplate>
</ResourceDictionary>